/**
 * Any CSS included here will be global. The classic template
 * bundles Infima by default. Infima is a CSS framework designed to
 * work well for content-centric websites.
 */

/* You can override the default Infima variables here. */
:root {
  /*--ifm-color-primary: #1890ff;*/
  --ifm-color-primary: #2b55a4;
  --ifm-color-primary-dark: #29784c;
  --ifm-color-primary-darker: #277148;
  --ifm-color-primary-darkest: #205d3b;
  --ifm-color-primary-light: #33925d;
  --ifm-color-primary-lighter: #359962;
  --ifm-color-primary-lightest: #3cad6e;
  --ifm-code-font-size: 95%;
  --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
  --ifm-container-width-xl: 1800px;
  --ifm-blockquote-border-left-width: 5px;
  --ifm-blockquote-padding-vertical: 10px;
  --doc-sidebar-width: 350px !important;
  --ifm-font-size-base: 107%
}

/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme='dark'] {
  --ifm-color-primary: #25c2a0;
  --ifm-color-primary-dark: #21af90;
  --ifm-color-primary-darker: #1fa588;
  --ifm-color-primary-darkest: #1a8870;
  --ifm-color-primary-light: #29d5b0;
  --ifm-color-primary-lighter: #32d8b4;
  --ifm-color-primary-lightest: #4fddbf;
  --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}

.anchor {
  --ifm-h2-font-size: 2.1rem !important;
  --ifm-h3-font-size: 1.75rem !important;;
  --ifm-h4-font-size: 1.5rem !important;;
  --ifm-h5-font-size: 1.35rem !important;;
  --ifm-h6-font-size: 1.2rem !important;;
}


dl {
  background-color: rgba(231, 222, 246, 0.2);
  border: solid 1px rgba(40, 5, 130, 0.5);
  border-radius: 5px;
  padding: 10px
}

dl dt {
  font-weight: bold;
}

dl dt::before {
  content: "Def";
  font-weight: normal;
  font-family: KaTeX_Math;
  color: #00a9ff;
  padding-right: 10px;
}

article dl dd {
  font-family: 'Georgia', 'Times New Roman', 'Lora', 'optima', 'Arial', 'Helvetica', sans-serif;
}

.math-inline, .katex {
  padding: 0 1px;
}

code {
  margin: 0 5px;
}

pre code {
  margin: 0;
}

article p:has(img) {
  text-align: center;
}

ul.callout-list {
  padding-left: 0;
  margin-left: 0;
  list-style: none;
}

.callout-list-item {
}

.callout-list-item::before {
  border-radius: 100%;
  display: inline-block;
  font-size: 1rem;
  font-style: normal;
  content: attr(data-index);
  color: white;
  background-color: black;
  border: 1px solid black;
  height: 1.25em;
  letter-spacing: -.25ex;
  line-height: 1.2;
  text-align: center;
  text-indent: -.25ex;
  width: 1.25em;
  position: relative;
  margin-right: 10px;
  vertical-align: top;
  top: 3px;
}

.callout-list-item p {
  margin: 0 !important;
}

.callout-list-item p:first-child {
  display: inline-block;
}